function createElements(val){
	var article = document.createElement('div');
	article.setAttribute("id","goback"); 
	article.setAttribute("style", "height: 3rem;width: 3rem;border-radius: 50%;position: fixed;z-index: 3;background: #999;right: 1rem;bottom: 5rem;line-height: 3rem;text-align: center;color: #fff; border:1px solid #666;opacity:0.4;box-shadow: 0px 0px 5px #999;");
	article.innerHTML = "返回";

	var article2 = document.createElement('div');
	article2.setAttribute("id","gohome"); 
	article2.setAttribute("style", "height: 3rem;width: 3rem;border-radius: 50%;position: fixed;z-index: 3;background: #999;right: 1rem;bottom: 9rem;line-height: 3rem;text-align: center;color: #fff; border:1px solid #666;opacity:0.4;box-shadow: 0px 0px 5px #999;");
	article2.innerHTML = "首页";


	var content = document.getElementsByClassName('content')[0];
	content.appendChild(article);
	content.appendChild(article2);

	setTimeout(function(){
		$('#goback').on('click',function(){
			history.go(-1);
		})
	},0)
	

};
createElements();
